| Logiczny url: https://ezdrowie.gov.pl/sgr/fhir/StructureDefinition/pl-sgr-prescription-reference | Wersja: 0.4.0 | |||
| Active z dnia 2026-02-16 | Nazwa: PLSGRPrescriptionReference | |||
Profil zasobu zawierający zakres danych referencji do dokumentu recepty zarejestrowanego w SGR
Usages:
You can also check for usages in the FHIR IG Statistics
Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.
Struktura bazuje na DocumentReference
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
0..1 | string | Identyfikator logiczny zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | PLSGRPrescriptionReference Fixed Value: https://ezdrowie.gov.pl/sgr/fhir/StructureDefinition/pl-sgr-prescription-reference | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..1 | (Complex) | Status recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status | |
![]() ![]() ![]() ![]() |
1..1 | code | active (wystawiona) | cancelled (anulowana) | on-hold (częściowo zrealizowana) | completed (zrealizowana) | stopped (zablokowana) Binding: PLeKOKMedicationRequestStatusVS (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Dane realizacji recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | date | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa leku na dokumencie realizacji | |
![]() ![]() |
0..1 | Identifier | Numer recepty | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | uri | OID systemu identyfikacji Dokumentu recepty | |
![]() ![]() ![]() |
1..1 | string | Identyfikator Dokumentu recepty w systemie identyfikacji | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | code | current | |
![]() ![]() |
1..1 | code | final | cancelled | |
![]() ![]() |
1..1 | CodeableConcept | Typ Dokumentu Medycznego wg klasyfikacji LOINC | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: 57833-6 | |
![]() ![]() ![]() ![]() |
1..1 | string | Nazwa Required Pattern: Dokument recepty | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Patient | Practitioner | Group | Device) | Dane pacjenta | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | instant | Data wystawienia recepty | |
![]() ![]() |
1..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Lekarz - wystawca recepty | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | string | Nazwa leku | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | BackboneElement | Dokument recepty | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Status dostępności recepty (w przypadku recept papierowych treść dokumentu nie jest dostępna) URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Kategoria kodu dostępności w systemie kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Kod kategorii kodu dostępności | |
![]() ![]() ![]() |
1..1 | Attachment | Dokument recepty | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | url | Referencja do zasobu z treścią dokumentu | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | string | Rodzaj dokumentu Fixed Value: Recepta | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.extension:requestStatus.value[x] | Base | required | PLeKOKMedicationRequestStatusVS | 📦0.4.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Identyfikator logiczny zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLSGRPrescriptionReference Fixed Value: https://ezdrowie.gov.pl/sgr/fhir/StructureDefinition/pl-sgr-prescription-reference |
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..1 | (Complex) | Status recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status" | |
![]() ![]() ![]() ![]() |
1..1 | code | active (wystawiona) | cancelled (anulowana) | on-hold (częściowo zrealizowana) | completed (zrealizowana) | stopped (zablokowana) Binding: PLeKOKMedicationRequestStatusVS (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Dane realizacji recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data | |
![]() ![]() ![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "dispenseDate" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | date | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "pharmacy" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "address" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicationName" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..1 | Identifier | Numer recepty |
![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Dokumentu recepty Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Dokumentu recepty w systemie identyfikacji Example General: 123456 |
![]() ![]() |
?!Σ | 1..1 | code | current Binding: DocumentReferenceStatus (required): The status of the document reference. |
![]() ![]() |
Σ | 1..1 | code | final | cancelled Binding: CompositionStatus (required): Status of the underlying document. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ Dokumentu Medycznego wg klasyfikacji LOINC Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 57833-6 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Required Pattern: Dokument recepty |
![]() ![]() |
Σ | 1..1 | Reference(Patient | Practitioner | Group | Device) | Dane pacjenta |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient |
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
![]() ![]() |
Σ | 1..1 | instant | Data wystawienia recepty |
![]() ![]() |
Σ | 1..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Lekarz - wystawca recepty |
![]() ![]() |
Σ | 1..1 | string | Nazwa leku |
![]() ![]() |
Σ | 1..1 | BackboneElement | Dokument recepty |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Status dostępności recepty (w przypadku recept papierowych treść dokumentu nie jest dostępna) URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Kategoria kodu dostępności w systemie kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod kategorii kodu dostępności |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | Attachment | Dokument recepty |
![]() ![]() ![]() ![]() |
Σ | 1..1 | url | Referencja do zasobu z treścią dokumentu Example General: http://www.acme.com/logo-small.png |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Rodzaj dokumentu Fixed Value: Recepta |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.extension:requestStatus.value[x] | Base | required | PLeKOKMedicationRequestStatusVS | 📦0.4.0 | This IG |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Identyfikator logiczny zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLSGRPrescriptionReference Fixed Value: https://ezdrowie.gov.pl/sgr/fhir/StructureDefinition/pl-sgr-prescription-reference |
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) |
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..1 | (Complex) | Status recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status" | |
![]() ![]() ![]() ![]() |
1..1 | code | active (wystawiona) | cancelled (anulowana) | on-hold (częściowo zrealizowana) | completed (zrealizowana) | stopped (zablokowana) Binding: PLeKOKMedicationRequestStatusVS (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Dane realizacji recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "dispenseDate" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | date | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "pharmacy" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "address" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicationName" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..1 | Identifier | Numer recepty |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Dokumentu recepty Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Dokumentu recepty w systemie identyfikacji Example General: 123456 |
![]() ![]() |
?!Σ | 1..1 | code | current Binding: DocumentReferenceStatus (required): The status of the document reference. |
![]() ![]() |
Σ | 1..1 | code | final | cancelled Binding: CompositionStatus (required): Status of the underlying document. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ Dokumentu Medycznego wg klasyfikacji LOINC Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 57833-6 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Required Pattern: Dokument recepty |
![]() ![]() |
Σ | 0..* | CodeableConcept | Categorization of document Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
![]() ![]() |
Σ | 1..1 | Reference(Patient | Practitioner | Group | Device) | Dane pacjenta |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient |
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
![]() ![]() |
Σ | 1..1 | instant | Data wystawienia recepty |
![]() ![]() |
Σ | 1..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Lekarz - wystawca recepty |
![]() ![]() |
Σ | 1..1 | string | Nazwa leku |
![]() ![]() |
Σ | 1..1 | BackboneElement | Dokument recepty |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Status dostępności recepty (w przypadku recept papierowych treść dokumentu nie jest dostępna) URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Kategoria kodu dostępności w systemie kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod kategorii kodu dostępności |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | Attachment | Dokument recepty |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | url | Referencja do zasobu z treścią dokumentu Example General: http://www.acme.com/logo-small.png |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Rodzaj dokumentu Fixed Value: Recepta |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| DocumentReference.extension:requestStatus.value[x] | Base | required | PLeKOKMedicationRequestStatusVS | 📦0.4.0 | This IG |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.category | Base | example | Document Class Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.0 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Struktura bazuje na DocumentReference
Widok Differential
Struktura bazuje na DocumentReference
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
0..1 | string | Identyfikator logiczny zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | PLSGRPrescriptionReference Fixed Value: https://ezdrowie.gov.pl/sgr/fhir/StructureDefinition/pl-sgr-prescription-reference | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..1 | (Complex) | Status recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status | |
![]() ![]() ![]() ![]() |
1..1 | code | active (wystawiona) | cancelled (anulowana) | on-hold (częściowo zrealizowana) | completed (zrealizowana) | stopped (zablokowana) Binding: PLeKOKMedicationRequestStatusVS (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Dane realizacji recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | date | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa leku na dokumencie realizacji | |
![]() ![]() |
0..1 | Identifier | Numer recepty | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | uri | OID systemu identyfikacji Dokumentu recepty | |
![]() ![]() ![]() |
1..1 | string | Identyfikator Dokumentu recepty w systemie identyfikacji | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | code | current | |
![]() ![]() |
1..1 | code | final | cancelled | |
![]() ![]() |
1..1 | CodeableConcept | Typ Dokumentu Medycznego wg klasyfikacji LOINC | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod Fixed Value: 57833-6 | |
![]() ![]() ![]() ![]() |
1..1 | string | Nazwa Required Pattern: Dokument recepty | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Patient | Practitioner | Group | Device) | Dane pacjenta | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | instant | Data wystawienia recepty | |
![]() ![]() |
1..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Lekarz - wystawca recepty | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | string | Nazwa leku | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | BackboneElement | Dokument recepty | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Status dostępności recepty (w przypadku recept papierowych treść dokumentu nie jest dostępna) URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Kategoria kodu dostępności w systemie kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Kod kategorii kodu dostępności | |
![]() ![]() ![]() |
1..1 | Attachment | Dokument recepty | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | url | Referencja do zasobu z treścią dokumentu | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | string | Rodzaj dokumentu Fixed Value: Recepta | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.extension:requestStatus.value[x] | Base | required | PLeKOKMedicationRequestStatusVS | 📦0.4.0 | This IG |
Widok kluczowych elementów
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Identyfikator logiczny zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLSGRPrescriptionReference Fixed Value: https://ezdrowie.gov.pl/sgr/fhir/StructureDefinition/pl-sgr-prescription-reference |
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..1 | (Complex) | Status recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status" | |
![]() ![]() ![]() ![]() |
1..1 | code | active (wystawiona) | cancelled (anulowana) | on-hold (częściowo zrealizowana) | completed (zrealizowana) | stopped (zablokowana) Binding: PLeKOKMedicationRequestStatusVS (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Dane realizacji recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data | |
![]() ![]() ![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "dispenseDate" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | date | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "pharmacy" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "address" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicationName" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..1 | Identifier | Numer recepty |
![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Dokumentu recepty Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Dokumentu recepty w systemie identyfikacji Example General: 123456 |
![]() ![]() |
?!Σ | 1..1 | code | current Binding: DocumentReferenceStatus (required): The status of the document reference. |
![]() ![]() |
Σ | 1..1 | code | final | cancelled Binding: CompositionStatus (required): Status of the underlying document. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ Dokumentu Medycznego wg klasyfikacji LOINC Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 57833-6 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Required Pattern: Dokument recepty |
![]() ![]() |
Σ | 1..1 | Reference(Patient | Practitioner | Group | Device) | Dane pacjenta |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient |
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
![]() ![]() |
Σ | 1..1 | instant | Data wystawienia recepty |
![]() ![]() |
Σ | 1..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Lekarz - wystawca recepty |
![]() ![]() |
Σ | 1..1 | string | Nazwa leku |
![]() ![]() |
Σ | 1..1 | BackboneElement | Dokument recepty |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Status dostępności recepty (w przypadku recept papierowych treść dokumentu nie jest dostępna) URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Kategoria kodu dostępności w systemie kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod kategorii kodu dostępności |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | Attachment | Dokument recepty |
![]() ![]() ![]() ![]() |
Σ | 1..1 | url | Referencja do zasobu z treścią dokumentu Example General: http://www.acme.com/logo-small.png |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Rodzaj dokumentu Fixed Value: Recepta |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.extension:requestStatus.value[x] | Base | required | PLeKOKMedicationRequestStatusVS | 📦0.4.0 | This IG |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Widok Snapshot
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Identyfikator logiczny zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLSGRPrescriptionReference Fixed Value: https://ezdrowie.gov.pl/sgr/fhir/StructureDefinition/pl-sgr-prescription-reference |
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) |
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..1 | (Complex) | Status recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-request-status" | |
![]() ![]() ![]() ![]() |
1..1 | code | active (wystawiona) | cancelled (anulowana) | on-hold (częściowo zrealizowana) | completed (zrealizowana) | stopped (zablokowana) Binding: PLeKOKMedicationRequestStatusVS (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Dane realizacji recepty URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator techniczny realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "dispenseDate" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | date | Data wystawienia dokumentu realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "pharmacy" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa apteki na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "address" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Adres na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicationName" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa leku na dokumencie realizacji | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/medication-dispense-data" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..1 | Identifier | Numer recepty |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Dokumentu recepty Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Dokumentu recepty w systemie identyfikacji Example General: 123456 |
![]() ![]() |
?!Σ | 1..1 | code | current Binding: DocumentReferenceStatus (required): The status of the document reference. |
![]() ![]() |
Σ | 1..1 | code | final | cancelled Binding: CompositionStatus (required): Status of the underlying document. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Typ Dokumentu Medycznego wg klasyfikacji LOINC Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania Fixed Value: http://loinc.org |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod Fixed Value: 57833-6 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Required Pattern: Dokument recepty |
![]() ![]() |
Σ | 0..* | CodeableConcept | Categorization of document Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
![]() ![]() |
Σ | 1..1 | Reference(Patient | Practitioner | Group | Device) | Dane pacjenta |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient |
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient |
![]() ![]() |
Σ | 1..1 | instant | Data wystawienia recepty |
![]() ![]() |
Σ | 1..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Lekarz - wystawca recepty |
![]() ![]() |
Σ | 1..1 | string | Nazwa leku |
![]() ![]() |
Σ | 1..1 | BackboneElement | Dokument recepty |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Status dostępności recepty (w przypadku recept papierowych treść dokumentu nie jest dostępna) URL: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/fhir/StructureDefinition/PLDocumentAvailabilityStatus" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Kategoria kodu dostępności w systemie kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod kategorii kodu dostępności |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | Attachment | Dokument recepty |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | url | Referencja do zasobu z treścią dokumentu Example General: http://www.acme.com/logo-small.png |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Rodzaj dokumentu Fixed Value: Recepta |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| DocumentReference.extension:requestStatus.value[x] | Base | required | PLeKOKMedicationRequestStatusVS | 📦0.4.0 | This IG |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.category | Base | example | Document Class Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.0 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Struktura bazuje na DocumentReference
Inne struktury profilu: CSV, Excel, Schematron